0

Is File Transfer still working??

Hi!!

I want to know if file transfer is still working. I think I'm doing things as described in the api and in many of the messages in this forum, but I can't send or receive files. The first steps of the handshake are successful but it gets to a point where I always receive a 400. I can send accept when receiving a file and invite when sending it. I get the notifications when sending this actions, but I always get 400 in the next step. (action=send when sending file or action=receive when receiving a file)
Is anyone still using file transfer at the moment??

Thanks!!

by
4 Replies
  • I'm not using this feature, I'm sorry I can't help you. 

    QUOTE (Javier @ 21 Dec 2011 4:46 AM) Hi!!

    I want to know if file transfer is still working. I think I'm doing things as described in the api and in many of the messages in this forum, but I can't send or receive files. The first steps of the handshake are successful but it gets to a point where I always receive a 400. I can send accept when receiving a file and invite when sending it. I get the notifications when sending this actions, but I always get 400 in the next step. (action=send when sending file or action=receive when receiving a file)
    Is anyone still using file transfer at the moment??

    Thanks!!
    0


  • QUOTE (Javier @ 21 Dec 2011 4:46 AM) Hi!!

    I want to know if file transfer is still working. I think I'm doing things as described in the api and in many of the messages in this forum, but I can't send or receive files. The first steps of the handshake are successful but it gets to a point where I always receive a 400. I can send accept when receiving a file and invite when sending it. I get the notifications when sending this actions, but I always get 400 in the next step. (action=send when sending file or action=receive when receiving a file)
    Is anyone still using file transfer at the moment??

    Thanks!!
    My fault (capital letters are important when sending a json). I have managed to complete handshake (or at least that is what I think). But when trying to send the file to the relay server the answer is 401 Unauthorized. I think now I am doing as the API says but there is no progress. Has anyone managed to successfully send a file??

    To receive a file I follow the steps:
    -Receive file transfer invite notification
    -Answer with an action=accept
    -Receive a FileTransferSend notification
    -Send an action=receive. Answer 200 OK.
    -Connect to the specified IP to send the file. Answer 401 Unauthorized.

     Thanks!
    0


  • QUOTE (Javier @ 3 Jan 2012 12:19 AM)

    QUOTE (Javier @ 21 Dec 2011 4:46 AM) Hi!!

    I want to know if file transfer is still working. I think I'm doing things as described in the api and in many of the messages in this forum, but I can't send or receive files. The first steps of the handshake are successful but it gets to a point where I always receive a 400. I can send accept when receiving a file and invite when sending it. I get the notifications when sending this actions, but I always get 400 in the next step. (action=send when sending file or action=receive when receiving a file)
    Is anyone still using file transfer at the moment??

    Thanks!!
    My fault (capital letters are important when sending a json). I have managed to complete handshake (or at least that is what I think). But when trying to send the file to the relay server the answer is 401 Unauthorized. I think now I am doing as the API says but there is no progress. Has anyone managed to successfully send a file??

    To receive a file I follow the steps:
    -Receive file transfer invite notification
    -Answer with an action=accept
    -Receive a FileTransferSend notification
    -Send an action=receive. Answer 200 OK.
    -Connect to the specified IP to send the file. Answer 401 Unauthorized.

     Thanks!
    Yes, it is still working, but the api is confusing, at least for me... OAuth credentials have to be sent in the URL, not in the request header. That was at least my problem...

    I hope this will help if any of you is having problems.

    0
  • Thank you Javier for giving the solution of your problem,
    It might help me in the future,

    Cheers

    Thomas


    QUOTE (Javier @ 3 Jan 2012 5:00 AM)

    QUOTE (Javier @ 3 Jan 2012 12:19 AM)

    QUOTE (Javier @ 21 Dec 2011 4:46 AM) Hi!!

    I want to know if file transfer is still working. I think I'm doing things as described in the api and in many of the messages in this forum, but I can't send or receive files. The first steps of the handshake are successful but it gets to a point where I always receive a 400. I can send accept when receiving a file and invite when sending it. I get the notifications when sending this actions, but I always get 400 in the next step. (action=send when sending file or action=receive when receiving a file)
    Is anyone still using file transfer at the moment??

    Thanks!!
    My fault (capital letters are important when sending a json). I have managed to complete handshake (or at least that is what I think). But when trying to send the file to the relay server the answer is 401 Unauthorized. I think now I am doing as the API says but there is no progress. Has anyone managed to successfully send a file??

    To receive a file I follow the steps:
    -Receive file transfer invite notification
    -Answer with an action=accept
    -Receive a FileTransferSend notification
    -Send an action=receive. Answer 200 OK.
    -Connect to the specified IP to send the file. Answer 401 Unauthorized.

     Thanks!
    Yes, it is still working, but the api is confusing, at least for me... OAuth credentials have to be sent in the URL, not in the request header. That was at least my problem...

    I hope this will help if any of you is having problems.

    0

Recent Posts

in Messenger IM SDK