- Joined
- Mar 12, 2006
- Messages
- 2,608
- Car
- Mini Cooper S, BMW M140i
But as there are lots of knowledgeable people on here, worth a go nonetheless..
I have a requirement to be able to transfer small image files between an embedded linux device and a windows laptop over ethernet (direct cable link). FTP seems to be the way to go.
The linux device doesn't have a keyboard but can be programmed to issue a given command via its limited UI. I've been trying to prove the principle today using a couple of laptops, one running Vista and Filezilla FTP server, the other running Fedora 9 and the inbuilt FTP client.
The problem I've run into is logging in to the server on the windows laptop - with my limited linux skills I'm struggling write a script to log in. I'm sure it can't be that hard. Logging in from the command line on the linux machine and doing the transfer manually works fine.
I have managed to find a workaround for transferring from server to client by using the following:
# wget 'ftp://username/password@IPaddress/path/*.JPG'
This takes a few seconds to for the log in to take place but once the two parties are happy the transfer flies. So far, so good, but there is no equivalent put/wput command, as far as I can tell, to transfer files from the client to the server.
If any boffins out there could give me a pointer, it'd be much appreciated! I am currently
Cheers,
Gaz
I have a requirement to be able to transfer small image files between an embedded linux device and a windows laptop over ethernet (direct cable link). FTP seems to be the way to go.
The linux device doesn't have a keyboard but can be programmed to issue a given command via its limited UI. I've been trying to prove the principle today using a couple of laptops, one running Vista and Filezilla FTP server, the other running Fedora 9 and the inbuilt FTP client.
The problem I've run into is logging in to the server on the windows laptop - with my limited linux skills I'm struggling write a script to log in. I'm sure it can't be that hard. Logging in from the command line on the linux machine and doing the transfer manually works fine.
I have managed to find a workaround for transferring from server to client by using the following:
# wget 'ftp://username/password@IPaddress/path/*.JPG'
This takes a few seconds to for the log in to take place but once the two parties are happy the transfer flies. So far, so good, but there is no equivalent put/wput command, as far as I can tell, to transfer files from the client to the server.
If any boffins out there could give me a pointer, it'd be much appreciated! I am currently
Cheers,
Gaz
Last edited: