Usage

Program Arguments

In Linux and MAC systems, just executing pywinktransporter -h on the command line will provide adequate examples of how to use the program.

Windows users will execute pywinktransporter.exe -h

Note

Windows users need to modify their system path so
the program executable pywinktransporter.exe is
available at all times in the console/command window.

Upload Individual Images (Linux/MAC Example)

$ pywinktransporter joesmith joesmithpass beachtrip2012.jpg
Uploading file  beachtrip2012.jpg
100% |#########################################################################|
SUCCESSFULLY UPLOADED: beachtrip2012.jpg

Upload Many Images at Once (Windows Example)

Imagine you have a directory full of .jpg images to upload:

C:\>pywinktransporter.exe joesmith joesmithpass C:\MyPhotos\*.jpg
Uploading file  C:\MyPhotos\picture1.jpg
100% |#########################################################################|
SUCCESSFULLY UPLOADED: C:\MyPhotos\picture1.jpg
Uploading file  C:\MyPhotos\picture2.jpg
100% |#########################################################################|
SUCCESSFULLY UPLOADED: C:\MyPhotos\picture2.jpg
Uploading file  C:\MyPhotos\picture3.jpg
100% |#########################################################################|
SUCCESSFULLY UPLOADED: C:\MyPhotos\picture3.jpg
....

Generating an Upload Summary (Windows Example)

Many times, users will upload many images at once and will not care to watch the screen to see the upload status of each file. A summary file can be created and used later to determine if all files uploaded successfully. The -f option provides this capability. In the following example, the program will create the file `C:\temp\mysummary.txt`.

C:\>pywinktransporter.exe -f C:\temp\mysummary.txt joesmith joesmithpass C:\MyPhotos\*.jpg
Uploading file  C:\MyPhotos\picture1.jpg
100% |#########################################################################|
SUCCESSFULLY UPLOADED: C:\MyPhotos\picture1.jpg
Uploading file  C:\MyPhotos\picture2.jpg
100% |#########################################################################|
SUCCESSFULLY UPLOADED: C:\MyPhotos\picture2.jpg
Uploading file  C:\MyPhotos\picture3.jpg
100% |#########################################################################|
SUCCESSFULLY UPLOADED: C:\MyPhotos\picture3.jpg
....

Note

Currently a limitation – if an upload is canceled by CTRL-C, the summary file will not be created.